package com.group.three.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
@RequestMapping("/admin")
public class MainController {
    @RequestMapping("/")
    public ModelAndView goMainIndex(ModelAndView modelAndView){
        modelAndView.setViewName("/3-admin/index");
        return modelAndView;
    }
}
